﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
   public class DonVi_BLL
    {
       DonVi_Data donvi = new DonVi_Data();
       public DataTable LayDuLieu()
       {
           return donvi.LayDuLieu();
       }
       public int Insert_DonVi(DonVi_Public tenDonVi, DonVi_Public ghiChu)
       {
           return donvi.insert_DonVi(tenDonVi,ghiChu);
       }
       public int Update_DonVi(DonVi_Public maDonVi, DonVi_Public tenDonVi, DonVi_Public ghiChu)
       {
           return donvi.update_DonVi(maDonVi,tenDonVi,ghiChu);
       }
       public int Delete_DonVi(DonVi_Public maDonVi)
       {
           return donvi.delete_DonVi(maDonVi);
       }
    }
}
